package com.tek.ding.faceding.presenter.face;

import com.tek.ding.faceding.base.BaseView;
import com.tek.ding.faceding.bean.BaseBean;
import com.tek.ding.faceding.bean.Members;

import java.util.List;

import io.reactivex.rxjava3.core.Observable;

public interface FaceContract {

    interface IFaceModel {
        Observable<BaseBean<List<Members>>> getMemberList2(String storeUid, String namePhone);

        Observable<BaseBean<String>> deleteFaceEntity2(String storeUid, String memberUid);
    }

    interface FaceView extends BaseView {
        void onLoadOk(BaseBean<List<Members>> baseBean);

        void onLoadError(String throwable);

        void onDelOk(BaseBean<String> baseBean);

        void onDelError(String throwable);
    }

}
